package com.jsz.peini.bean.user;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserLoginExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserLoginExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserPasswordIsNull() {
            addCriterion("user_password is null");
            return (Criteria) this;
        }

        public Criteria andUserPasswordIsNotNull() {
            addCriterion("user_password is not null");
            return (Criteria) this;
        }

        public Criteria andUserPasswordEqualTo(String value) {
            addCriterion("user_password =", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordNotEqualTo(String value) {
            addCriterion("user_password <>", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordGreaterThan(String value) {
            addCriterion("user_password >", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("user_password >=", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordLessThan(String value) {
            addCriterion("user_password <", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordLessThanOrEqualTo(String value) {
            addCriterion("user_password <=", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordLike(String value) {
            addCriterion("user_password like", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordNotLike(String value) {
            addCriterion("user_password not like", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordIn(List<String> values) {
            addCriterion("user_password in", values, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordNotIn(List<String> values) {
            addCriterion("user_password not in", values, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordBetween(String value1, String value2) {
            addCriterion("user_password between", value1, value2, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordNotBetween(String value1, String value2) {
            addCriterion("user_password not between", value1, value2, "userPassword");
            return (Criteria) this;
        }

        public Criteria andLastTimeIsNull() {
            addCriterion("last_time is null");
            return (Criteria) this;
        }

        public Criteria andLastTimeIsNotNull() {
            addCriterion("last_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastTimeEqualTo(Date value) {
            addCriterion("last_time =", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeNotEqualTo(Date value) {
            addCriterion("last_time <>", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeGreaterThan(Date value) {
            addCriterion("last_time >", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_time >=", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeLessThan(Date value) {
            addCriterion("last_time <", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_time <=", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeIn(List<Date> values) {
            addCriterion("last_time in", values, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeNotIn(List<Date> values) {
            addCriterion("last_time not in", values, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeBetween(Date value1, Date value2) {
            addCriterion("last_time between", value1, value2, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_time not between", value1, value2, "lastTime");
            return (Criteria) this;
        }

        public Criteria andThirdNameIsNull() {
            addCriterion("third_name is null");
            return (Criteria) this;
        }

        public Criteria andThirdNameIsNotNull() {
            addCriterion("third_name is not null");
            return (Criteria) this;
        }

        public Criteria andThirdNameEqualTo(String value) {
            addCriterion("third_name =", value, "thirdName");
            return (Criteria) this;
        }

        public Criteria andThirdNameNotEqualTo(String value) {
            addCriterion("third_name <>", value, "thirdName");
            return (Criteria) this;
        }

        public Criteria andThirdNameGreaterThan(String value) {
            addCriterion("third_name >", value, "thirdName");
            return (Criteria) this;
        }

        public Criteria andThirdNameGreaterThanOrEqualTo(String value) {
            addCriterion("third_name >=", value, "thirdName");
            return (Criteria) this;
        }

        public Criteria andThirdNameLessThan(String value) {
            addCriterion("third_name <", value, "thirdName");
            return (Criteria) this;
        }

        public Criteria andThirdNameLessThanOrEqualTo(String value) {
            addCriterion("third_name <=", value, "thirdName");
            return (Criteria) this;
        }

        public Criteria andThirdNameLike(String value) {
            addCriterion("third_name like", value, "thirdName");
            return (Criteria) this;
        }

        public Criteria andThirdNameNotLike(String value) {
            addCriterion("third_name not like", value, "thirdName");
            return (Criteria) this;
        }

        public Criteria andThirdNameIn(List<String> values) {
            addCriterion("third_name in", values, "thirdName");
            return (Criteria) this;
        }

        public Criteria andThirdNameNotIn(List<String> values) {
            addCriterion("third_name not in", values, "thirdName");
            return (Criteria) this;
        }

        public Criteria andThirdNameBetween(String value1, String value2) {
            addCriterion("third_name between", value1, value2, "thirdName");
            return (Criteria) this;
        }

        public Criteria andThirdNameNotBetween(String value1, String value2) {
            addCriterion("third_name not between", value1, value2, "thirdName");
            return (Criteria) this;
        }

        public Criteria andThirdtypeIsNull() {
            addCriterion("thirdType is null");
            return (Criteria) this;
        }

        public Criteria andThirdtypeIsNotNull() {
            addCriterion("thirdType is not null");
            return (Criteria) this;
        }

        public Criteria andThirdtypeEqualTo(Integer value) {
            addCriterion("thirdType =", value, "thirdtype");
            return (Criteria) this;
        }

        public Criteria andThirdtypeNotEqualTo(Integer value) {
            addCriterion("thirdType <>", value, "thirdtype");
            return (Criteria) this;
        }

        public Criteria andThirdtypeGreaterThan(Integer value) {
            addCriterion("thirdType >", value, "thirdtype");
            return (Criteria) this;
        }

        public Criteria andThirdtypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("thirdType >=", value, "thirdtype");
            return (Criteria) this;
        }

        public Criteria andThirdtypeLessThan(Integer value) {
            addCriterion("thirdType <", value, "thirdtype");
            return (Criteria) this;
        }

        public Criteria andThirdtypeLessThanOrEqualTo(Integer value) {
            addCriterion("thirdType <=", value, "thirdtype");
            return (Criteria) this;
        }

        public Criteria andThirdtypeIn(List<Integer> values) {
            addCriterion("thirdType in", values, "thirdtype");
            return (Criteria) this;
        }

        public Criteria andThirdtypeNotIn(List<Integer> values) {
            addCriterion("thirdType not in", values, "thirdtype");
            return (Criteria) this;
        }

        public Criteria andThirdtypeBetween(Integer value1, Integer value2) {
            addCriterion("thirdType between", value1, value2, "thirdtype");
            return (Criteria) this;
        }

        public Criteria andThirdtypeNotBetween(Integer value1, Integer value2) {
            addCriterion("thirdType not between", value1, value2, "thirdtype");
            return (Criteria) this;
        }

        public Criteria andAdminnameIsNull() {
            addCriterion("adminName is null");
            return (Criteria) this;
        }

        public Criteria andAdminnameIsNotNull() {
            addCriterion("adminName is not null");
            return (Criteria) this;
        }

        public Criteria andAdminnameEqualTo(String value) {
            addCriterion("adminName =", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameNotEqualTo(String value) {
            addCriterion("adminName <>", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameGreaterThan(String value) {
            addCriterion("adminName >", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameGreaterThanOrEqualTo(String value) {
            addCriterion("adminName >=", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameLessThan(String value) {
            addCriterion("adminName <", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameLessThanOrEqualTo(String value) {
            addCriterion("adminName <=", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameLike(String value) {
            addCriterion("adminName like", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameNotLike(String value) {
            addCriterion("adminName not like", value, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameIn(List<String> values) {
            addCriterion("adminName in", values, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameNotIn(List<String> values) {
            addCriterion("adminName not in", values, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameBetween(String value1, String value2) {
            addCriterion("adminName between", value1, value2, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminnameNotBetween(String value1, String value2) {
            addCriterion("adminName not between", value1, value2, "adminname");
            return (Criteria) this;
        }

        public Criteria andAdminpassIsNull() {
            addCriterion("adminPass is null");
            return (Criteria) this;
        }

        public Criteria andAdminpassIsNotNull() {
            addCriterion("adminPass is not null");
            return (Criteria) this;
        }

        public Criteria andAdminpassEqualTo(String value) {
            addCriterion("adminPass =", value, "adminpass");
            return (Criteria) this;
        }

        public Criteria andAdminpassNotEqualTo(String value) {
            addCriterion("adminPass <>", value, "adminpass");
            return (Criteria) this;
        }

        public Criteria andAdminpassGreaterThan(String value) {
            addCriterion("adminPass >", value, "adminpass");
            return (Criteria) this;
        }

        public Criteria andAdminpassGreaterThanOrEqualTo(String value) {
            addCriterion("adminPass >=", value, "adminpass");
            return (Criteria) this;
        }

        public Criteria andAdminpassLessThan(String value) {
            addCriterion("adminPass <", value, "adminpass");
            return (Criteria) this;
        }

        public Criteria andAdminpassLessThanOrEqualTo(String value) {
            addCriterion("adminPass <=", value, "adminpass");
            return (Criteria) this;
        }

        public Criteria andAdminpassLike(String value) {
            addCriterion("adminPass like", value, "adminpass");
            return (Criteria) this;
        }

        public Criteria andAdminpassNotLike(String value) {
            addCriterion("adminPass not like", value, "adminpass");
            return (Criteria) this;
        }

        public Criteria andAdminpassIn(List<String> values) {
            addCriterion("adminPass in", values, "adminpass");
            return (Criteria) this;
        }

        public Criteria andAdminpassNotIn(List<String> values) {
            addCriterion("adminPass not in", values, "adminpass");
            return (Criteria) this;
        }

        public Criteria andAdminpassBetween(String value1, String value2) {
            addCriterion("adminPass between", value1, value2, "adminpass");
            return (Criteria) this;
        }

        public Criteria andAdminpassNotBetween(String value1, String value2) {
            addCriterion("adminPass not between", value1, value2, "adminpass");
            return (Criteria) this;
        }

        public Criteria andAcctypeIsNull() {
            addCriterion("accType is null");
            return (Criteria) this;
        }

        public Criteria andAcctypeIsNotNull() {
            addCriterion("accType is not null");
            return (Criteria) this;
        }

        public Criteria andAcctypeEqualTo(Integer value) {
            addCriterion("accType =", value, "acctype");
            return (Criteria) this;
        }

        public Criteria andAcctypeNotEqualTo(Integer value) {
            addCriterion("accType <>", value, "acctype");
            return (Criteria) this;
        }

        public Criteria andAcctypeGreaterThan(Integer value) {
            addCriterion("accType >", value, "acctype");
            return (Criteria) this;
        }

        public Criteria andAcctypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("accType >=", value, "acctype");
            return (Criteria) this;
        }

        public Criteria andAcctypeLessThan(Integer value) {
            addCriterion("accType <", value, "acctype");
            return (Criteria) this;
        }

        public Criteria andAcctypeLessThanOrEqualTo(Integer value) {
            addCriterion("accType <=", value, "acctype");
            return (Criteria) this;
        }

        public Criteria andAcctypeIn(List<Integer> values) {
            addCriterion("accType in", values, "acctype");
            return (Criteria) this;
        }

        public Criteria andAcctypeNotIn(List<Integer> values) {
            addCriterion("accType not in", values, "acctype");
            return (Criteria) this;
        }

        public Criteria andAcctypeBetween(Integer value1, Integer value2) {
            addCriterion("accType between", value1, value2, "acctype");
            return (Criteria) this;
        }

        public Criteria andAcctypeNotBetween(Integer value1, Integer value2) {
            addCriterion("accType not between", value1, value2, "acctype");
            return (Criteria) this;
        }

        public Criteria andAccstatusIsNull() {
            addCriterion("accStatus is null");
            return (Criteria) this;
        }

        public Criteria andAccstatusIsNotNull() {
            addCriterion("accStatus is not null");
            return (Criteria) this;
        }

        public Criteria andAccstatusEqualTo(Integer value) {
            addCriterion("accStatus =", value, "accstatus");
            return (Criteria) this;
        }

        public Criteria andAccstatusNotEqualTo(Integer value) {
            addCriterion("accStatus <>", value, "accstatus");
            return (Criteria) this;
        }

        public Criteria andAccstatusGreaterThan(Integer value) {
            addCriterion("accStatus >", value, "accstatus");
            return (Criteria) this;
        }

        public Criteria andAccstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("accStatus >=", value, "accstatus");
            return (Criteria) this;
        }

        public Criteria andAccstatusLessThan(Integer value) {
            addCriterion("accStatus <", value, "accstatus");
            return (Criteria) this;
        }

        public Criteria andAccstatusLessThanOrEqualTo(Integer value) {
            addCriterion("accStatus <=", value, "accstatus");
            return (Criteria) this;
        }

        public Criteria andAccstatusIn(List<Integer> values) {
            addCriterion("accStatus in", values, "accstatus");
            return (Criteria) this;
        }

        public Criteria andAccstatusNotIn(List<Integer> values) {
            addCriterion("accStatus not in", values, "accstatus");
            return (Criteria) this;
        }

        public Criteria andAccstatusBetween(Integer value1, Integer value2) {
            addCriterion("accStatus between", value1, value2, "accstatus");
            return (Criteria) this;
        }

        public Criteria andAccstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("accStatus not between", value1, value2, "accstatus");
            return (Criteria) this;
        }

        public Criteria andIpstatusIsNull() {
            addCriterion("ipStatus is null");
            return (Criteria) this;
        }

        public Criteria andIpstatusIsNotNull() {
            addCriterion("ipStatus is not null");
            return (Criteria) this;
        }

        public Criteria andIpstatusEqualTo(Integer value) {
            addCriterion("ipStatus =", value, "ipstatus");
            return (Criteria) this;
        }

        public Criteria andIpstatusNotEqualTo(Integer value) {
            addCriterion("ipStatus <>", value, "ipstatus");
            return (Criteria) this;
        }

        public Criteria andIpstatusGreaterThan(Integer value) {
            addCriterion("ipStatus >", value, "ipstatus");
            return (Criteria) this;
        }

        public Criteria andIpstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("ipStatus >=", value, "ipstatus");
            return (Criteria) this;
        }

        public Criteria andIpstatusLessThan(Integer value) {
            addCriterion("ipStatus <", value, "ipstatus");
            return (Criteria) this;
        }

        public Criteria andIpstatusLessThanOrEqualTo(Integer value) {
            addCriterion("ipStatus <=", value, "ipstatus");
            return (Criteria) this;
        }

        public Criteria andIpstatusIn(List<Integer> values) {
            addCriterion("ipStatus in", values, "ipstatus");
            return (Criteria) this;
        }

        public Criteria andIpstatusNotIn(List<Integer> values) {
            addCriterion("ipStatus not in", values, "ipstatus");
            return (Criteria) this;
        }

        public Criteria andIpstatusBetween(Integer value1, Integer value2) {
            addCriterion("ipStatus between", value1, value2, "ipstatus");
            return (Criteria) this;
        }

        public Criteria andIpstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("ipStatus not between", value1, value2, "ipstatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}